/**
 * Created by Administrator on 2018-07-28.
 */
/**
 * Created by Administrator on 2018/4/26.
 */
define(function (require,exports,module) {
    var sTpl = require("./processKanban.html");
     require("./this.css")
    var  component =  require("../table/flightDynamic.js");
    var VueComponent = Vue.extend({
        components:{'enter':component},
        template: sTpl,
        methods:{
        },
        mounted:function() {

        },
        data:function(){
            var $this = this;
            var interval = setInterval(function(){
                $this.time=moment().format("HH:mm:ss");
                var cd =  new Date();
                $this.date = moment().format("YYYY-MM-DD")
                    + ' ' +['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'][cd.getDay()];
            }, 1000);

            return {
                dataArray:[],
                childrenData:{
                    dataRefresh:function (data) {
                        $this.dataArray = data;
                    }
                },
                time:"",
                date:""
            }
        },
        created:function (){

        }
    });

    module.exports = VueComponent;
    return VueComponent;
})
